c program to get the maximum number in a given array